<template>
  <div>
    <p>父组件</p>
    <hr />
    <definePropsChild
      name="小🐥"
      :age="5"
      :isBig="false"
      :cookie="['1', '2', '3']"
      :address="{ a: 1, b: 2 }"
      @event1="getValue"
    />
  </div>
</template>

<script setup>
import definePropsChild from './defineProps-Child.vue'

const getValue = val => {
  console.log(val)
}
</script>
